Fix viskores warning
authorDominique Belhachemi <domibel@debian.org>
Mon, 27 Oct 2025 18:54:02 +0000 (14:54 -0400)
committerDominique Belhachemi <domibel@debian.org>
Mon, 27 Oct 2025 18:54:02 +0000 (14:54 -0400)
Last-Update: 2025-09-25

/vtk9/ThirdParty/viskores/vtkviskores/viskores/viskores/cont/tbb/internal/RuntimeDeviceConfigurationTBB.h:49:66: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  49 |   RuntimeDeviceConfiguration<viskores::cont::DeviceAdapterTagTBB>()

Gbp-Pq: Name 40_viskores.patch

ThirdParty/viskores/vtkviskores/viskores/viskores/cont/tbb/internal/RuntimeDeviceConfigurationTBB.h

index 133fa3941608370fec4085325f2dec01b41253a3..3c5cf5d8f849fb50159dc8c7421a4a44b2d3c1a3 100644 (file)
@@ -46,7 +46,7 @@ class RuntimeDeviceConfiguration<viskores::cont::DeviceAdapterTagTBB>
 {
 public:
   VISKORES_CONT
-  RuntimeDeviceConfiguration<viskores::cont::DeviceAdapterTagTBB>()
+  RuntimeDeviceConfiguration()
     :
 #if TBB_VERSION_MAJOR >= 2020
     HardwareMaxThreads(::tbb::task_arena{}.max_concurrency())